home *** CD-ROM | disk | FTP | other *** search
/ Trusted Irix /B 4.0.4 / Trusted-Irix B-4.0.1.iso / dist / eoe1.idb / usr / include / sys / fsctl.h.z / fsctl.h
C/C++ Source or Header  |  1992-04-03  |  660b  |  29 lines

  1.  
  2. /*
  3.  * definitions for fsctl pseudo-device
  4.  */
  5.  
  6. #define ILOCK           0x1
  7. #define ICOMMIT         0x2
  8. #define BALLOC          0x3
  9. #define BFREE           0x4
  10. #define TSTALLOC        0x5
  11. #define TSTFREE         0x6
  12. #define IUNLOCK         0x7
  13.  
  14. /*
  15.  * Be all end all multi-purpose data structure.
  16.  * Different users (ioctl's) use different parts.
  17.  */
  18. struct fscarg {
  19.         dev_t   fa_dev;
  20.         ino_t   fa_ino;
  21.         int     fa_ne;    /* # direct extents in 'ex' */
  22.         int     fa_nie;    /* # indirect extents in 'ix' */
  23.         extent  *fa_ex; /* direct extents */
  24.     extent    *fa_ix;    /* indirect extents */
  25.         int     fa_len;
  26.         daddr_t fa_bn;
  27. };
  28.  
  29.